package edu.zju.udms.dnavigator.core.config;

import java.io.InputStream;
import java.util.List;
import java.util.Map;
import java.util.UUID;

import edu.zju.udms.dnavigator.core.extract.Extractor;

public interface Configuration {
	public List<Extractor> listExtractors();
	
	public void addExtractors(InputStream in);
	
	public void addExtractors(String className, Map<String, String> words) throws Exception;
	
	public void deleteExtractor(UUID extractorId) throws Exception;
	
	public void updateExtractor(UUID extractorId, Map<String, String> words) throws Exception;
	
	public void saveExtractors() throws Exception;

	public String getProperty(String propertyName);
	
	public void setProperty(String propertyName, String propertyValue);
}
